<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title></title>
		<script type="text/javascript" src="./vue.js">
			
		</script>
	</head>
	<body>
		<div id="app">
			<button type="button" @click="doit(109121)">加加加</button>
			<input type="text" @keyup.Y="hi" name="" id="" value="" />
		</div>
		
		
		<script type="text/javascript">
			var app = new Vue({
				el:"#app",
				data:{
					
				},
				methods:{
					doit:function(p1){
						console.log(p1);
					},
					hi:function(){
						alert("嫄啊嫄");
					}
				}
			});
		</script>
	</body>
</html>
